﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SU.Center.Domain.RBAC
{
    /// <summary>
    /// 权限表
    /// </summary>
    public class Permissions: BaseField
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [Key]
        public int PermissionsId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionsName { get; set; }

        //// <summary>
        /// 上下级关系
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 路由网址
        /// </summary>
        public string? path { get; set; }
        /// <summary>
        /// 路由名称
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 路由地址
        /// </summary>
        public string? component { get; set; }    
    }
}
